package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RestController;

/**
 * https://www.bilibili.com/video/av59572480/?p=5&spm_id_from=pageDriver&vd_source=4110e082785c06a8c24a5c86c6182472
 *
 * SpringBootApplication 来标注一个主程序类，说明这是一个spring boot应用
 *
 * SpringBoot出现找不到或无法加载主类解决办法  ： 点击项目的目录，鼠标右键选择Maven->Reload Project，或者进行mvn clean后重新运行
 * https://blog.csdn.net/github_38924695/article/details/128236420
 */
//@RestController
@SpringBootApplication
public class HelloWorldMainApplication {
    public static void main(String[] args) {
        //Spring 来启动应用
        SpringApplication.run(HelloWorldMainApplication.class, args);
    }
}